#ifndef _FPP_CAMERA
#define _FPP_CAMERA

#include <d3d10.h>
#include <d3dx10.h>
#include "iCamera.h"

class FPPCamera:public ICamera
{
private:
	D3DXVECTOR3 m_FromEye;
	D3DXVECTOR3 m_At;
	D3DXVECTOR3 m_Up;

	float m_Radius;
	D3DXQUATERNION m_Rotation;

public:
	FPPCamera();
	D3DXMATRIX  getViewMatrix();
	D3DXVECTOR3 getEyePosition();
	D3DXVECTOR3 getEyeDirection();
	void		move(D3DXVECTOR3 v);	
	void		RotateY(float angle);
	void		RotateX(float angle);

	D3DXVECTOR3 GetAtPosition();
	void		SetAtPosition(D3DXVECTOR3 position);



};
#endif